<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 全局js -->
<script src="${pageContext.request.contextPath}/static/js/jquery.min.js?v=2.1.4"></script>
<script src="${pageContext.request.contextPath}/static/mui/js/mui.min.js"></script>

<script>
    mui.init({
        swipeBack:false //启用右滑关闭功能
    });
    mui('.mui-segmented-control').on('tap','a',function(){
        console.log(this.getAttribute('href'));
        location.href = this.getAttribute('href');
    })
    mui('.mui-bar-tab').on('tap','a',function(){
        console.log(this.getAttribute('href'));
        location.href = this.getAttribute('href');
    })
</script>

